<page-header-wrapper [title]="''">
</page-header-wrapper>
<nz-card>
  <div nz-row nzGutter="8">
    <div nz-col [nzSpan]="16">
      <sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
    </div>
    <div nz-col [nzSpan]="8">
      <button nz-button nzType="primary" (click)="st?.load(1)">查询</button>
      <button nz-button (click)="resetSF()">重置</button>
    </div>
  </div>
</nz-card>
<nz-card>

  <div class="mb-sm">
    <button nz-button nzType="primary" (click)="add()">新增分类</button>
  </div>
  <st #st [data]="service.$api_get_account_management_page" [columns]="columns" [scroll]="{ x: '1200px' }"
    [req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, params: reqParams }"
    [res]="{ reName: { list: 'data.records', total: 'data.total' } }"
    [page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
    [loading]="service.http.loading">
    <ng-template st-row="icon" let-item>
      <img nz-image width="64px" height="64px" [nzSrc]="item?.icon" alt="" />
    </ng-template>
  </st>
</nz-card>
